package com.chenfan.mcn.model.rpc;

import com.alibaba.fastjson.annotation.JSONType;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 执行单打款回调
 *
 * @author wulg
 * @date 2022-07-28
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@JSONType(typeName = BusinessScene.EXCUTION_ORDER_PAID)
public class ExcutionOrderPaidCallback extends AbstractFinanceCallback {

    private static final long serialVersionUID = 5505594970484512873L;

    /**
     * 执行单打款明细集合
     */
    @Valid
    @NotEmpty(message = "执行单打款明细不能为空")
    private List<ExcutionSetPaidDTO> paidList;
}
